package com.yzt.zhuju.network.service;

import com.yzt.zhuju.network.apiconfig.GiftUrlConstant;
import com.yzt.zhuju.network.entity.gift.GiftResponse;
import com.yzt.zhuju.network.entity.gift.SendChatRoomComboGiftResponse;
import com.yzt.plugin_network.response.HttpResponse;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

/**
 * author : bob
 * date   : 2022/12/6
 * desc   :
 */
public interface GiftService {

    /**
     * 获取礼物列表
     */
    @POST(GiftUrlConstant.GET_GIFT_LIST)
    Observable<HttpResponse<GiftResponse>> getGiftList(@Body RequestBody requestBody);

    /**
     * 赠送礼物
     */
    @POST(GiftUrlConstant.POST_SEND_GIFT_TO_OTHER)
    Observable<HttpResponse<Object>> postSendGiftToOther(@Body RequestBody requestBody);

    /**
     * 赠送礼物
     */
    @POST(GiftUrlConstant.POST_SEND_MY_CHAT_ROOM_COMBO_GIFT)
    Observable<HttpResponse<SendChatRoomComboGiftResponse>> postSendChatRoomComboGift(@Body RequestBody body);

    /**
     * 发出(主动发出惩罚牌)
     */
    @POST(GiftUrlConstant.POST_SEND_PUNISH_TO_OTHER)
    Observable<HttpResponse<Object>> postPunishToOther(@Body RequestBody requestBody);

    /**
     * (惩罚牌)  摇一摇
     */
    @POST(GiftUrlConstant.POST_SEND_PUNISH_SHARK)
    Observable<HttpResponse<Object>> postPunishShark(@Body RequestBody requestBody);
}
